getZoneParents

Module: dggal
Class: DGGRS

int getZoneParents(DGGRSZone zone, DGGRSZone * parents)

Description

Return the parent zones of a DGGRS zone

Parameters

zone  DGGRSZone  The zone for which to return parents 
parents  DGGRSZone A pre-allocated buffer in which to return parents 
 
Return Value int  The number of paerents returned 

Remarks


All zones of GNOSIS Global Grid and ISEA9R have a single parents, whereas ISEA3H zones have one parent if they are a centroid child, and three parents otherwise if they are a vertex child.